package com.enjoy.studyfragment.adapter;

import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.enjoy.studyfragment.R;

/**
 * Created by Administrator on 2018/3/17.
 */

public class SwipeRecyclerAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public SwipeRecyclerAdapter(){
        super(R.layout.adapter_swipe_recycler);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tvTitle = helper.getView(R.id.tvTitle);
        tvTitle.setText(item);
    }
}
